﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FrameWork.Entity
{
  #foreach($u in $TableInfos)
#beforeall 
#each  
    ///<summary>
    ///${u.TabName}Entity实体类($u.TabCaption)
    ///</summary>
    [Serializable]
    public partial class ${u.TabName}Entity
    {
        #region "Private Variables"
        private DataTable_Action _DataTable_Action_;  // 操作方法 Insert:增加 Update:修改 Delete:删除
#foreach($c in $u.ColumnInfos)  
#beforeall
#each 
        private $c.TypeCSharpName _$c.ColumnName=$c.DefaultValCSharp; // $c.DeText
#afterall
#end 
        #endregion

        #region "Public Variables"
        ///<summary>
        /// 操作方法 Insert:增加 Update:修改 Delete:删除
        ///</summary>
        public DataTable_Action DataTable_Action_
        {
            set { this._DataTable_Action_ = value; }
            get { return this._DataTable_Action_; }
        }
#foreach($c in $u.ColumnInfos)  
#beforeall
#each 
        /// <summary>
        /// $c.DeText
        /// </summary>
        public $c.TypeCSharpName  $c.ColumnName
        {
            set { this._$c.ColumnName = value; }
            get { return this._$c.ColumnName; }
        }
#afterall
#end 
        #endregion
    }
}
#end